const { merge } = require("webpack-merge");
const common = require("./webpack.common");
const webpack = require("webpack");

module.exports = merge(common, {
  mode: "development",
  devtool: "cheap-module-eval-source-map",
  devServer: {
    hotOnly: true,
    contentBase: ["./public", "./src/assets"],
  },
  plugins: [new webpack.HotModuleReplacementPlugin()],
});
